﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/SiteAdmin.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
</head>
<body>
    <div class="page">
        <header>
            <div id="title">
                <h1>Control Panel</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartialAdmin")
            </div>
            <nav>
            @if (Session["user"] != null)
            {
                <ul id="menu">
                    <li>@Html.ActionLink("Index", "Index", "Admin")</li>
                    <li>@Html.ActionLink("Users manager", "UsersManager", "Admin")</li>
                    <li>@Html.ActionLink("Categories manager", "CategoriesManager", "Admin")</li>
                    <li>@Html.ActionLink("Albums manager", "AlbumsManager", "Admin")</li>
                    <li>@Html.ActionLink("Photos manager", "PhotosManager", "Admin")</li>
                </ul>
            }
            </nav>
        </header>
        <section id="main">
            @RenderBody()
        </section>
        <footer>
        </footer>
    </div>
</body>
</html>
